package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.OrderEntity;
import com.itheima.pojo.OrderModel;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Map findById(Integer id);

    public PageResult findPage(QueryPageBean queryPageBean);

    public void add(OrderEntity orderModel,Integer[] setmealIds);
}
